package io.openmessaging.storage;

/**
 * @author cuijd    2021/10/8 14:37
 */
public class FileIndex {
    byte fileId;
    long position;
    short length;

    public FileIndex(byte fileId, long position, short length) {
        this.fileId = fileId;
        this.position = position;
        this.length = length;
    }

    @Override
    public String toString() {
        return " fid=" + fileId + " pos=" + position + " len=" + length;
    }
}
